<div class="row">
	<div class="col-md-12">
		<div class="box-body  no-padding">
			<form  class="form-horizontal" onsubmit="return false">
				<div class="form-group">
					<label id="siteNameLabel" for="siteName" class="col-sm-2 control-label">名称</label>
					<div class="col-sm-4">
						<input type="text" class="form-control" name="name" id="siteName" value="${cmsSite.name}" placeholder="输入名称...">
					</div>
					<label id="siteTitleLabel" for="siteTitle" class="col-sm-1 control-label">标题</label>
					<div class="col-sm-4">
						<input type="text" class="form-control" name="title" id="siteTitle"  value="${cmsSite.title}" placeholder="输入标题...">
					</div>
				</div>
				<div class="form-group">
					<label id="siteShortcutIconLabel" for="siteShortcutIcon" class="col-sm-2 control-label">快捷图标</label>
					<div class="col-sm-4">
						<input type="text" class="form-control" name="shortcutIcon" id="siteShortcutIcon" value="${cmsSite.shortcutIcon}" placeholder="输入快捷方式图标...">
					</div>
					<label id="siteKeywordsLabel" for="siteKeywords" class="col-sm-1 control-label">关键字</label>
					<div class="col-sm-4">
						<input type="text" class="form-control" name="keywords" id="siteKeywords" value="${cmsSite.keywords}" placeholder="输入关键字...">
					</div>
				</div>
				<div class="form-group">
					<label id="siteLogoLabel" class="col-sm-2 control-label" >Logo</label>
					<div class="col-sm-9">
						<input type="text" class="form-control" name="logo" id="siteLogo" value="${cmsSite.logo}" placeholder="输入Logo...">
					</div>
				</div>
				<div class="form-group">
					<label id="siteProtocolLabel" for="siteProtocol" class="col-sm-2 control-label">协议</label>
					<div class="col-sm-2">
						<input type="text" class="form-control" name="protocol" id="siteProtocol"  value="${cmsSite.protocol}" placeholder="输入协议...">
					</div>
					<label id="siteDomainLabel" for="siteDomain" class="col-sm-1 control-label">域名</label>
					<div class="col-sm-3">
						<input type="text" class="form-control" name="domain" id="siteDomain" value="${cmsSite.domain}" placeholder="输入域名...">
					</div>
					<label id="sitePortLabel" for="sitePort" class="col-sm-1 control-label">端口</label>
					<div class="col-sm-2">
						<input type="text" class="form-control" name="port" id="sitePort" value="${cmsSite.port}" placeholder="输入端口...">
					</div>
				</div>
				<div class="form-group">
					<label id="siteCopyrightLabel" class="col-sm-2 control-label" >版权信息</label>
					<div class="col-sm-4">
						<input type="text" class="form-control" name="copyright" id="siteCopyright" value="${cmsSite.copyright}" placeholder="输入版权信息...">
					</div>
				</div>
				<div class="form-group">
					<label id="siteSeqLabel" for="siteSeq" class="col-sm-2  control-label">排序号</label>
					<div class="col-sm-4">
						<input class="form-control" name="priority" id="siteSeq" type="number" value="${cmsSite.priority}" placeholder="输入排序号...">
					</div>
					<label id="siteStatusLabel" for="siteStatus" class="col-sm-1  control-label">状态</label>
					<div class="col-sm-4">
						<select class="form-control" id="siteStatus"  name="validStatus"  value="${cmsSite.validStatus}" style="width: 100%;" placeholder="选择状态...">
						</select>
					</div>
				</div>
				<div class="form-group">
					<label id="siteDescriptionLabel" class="col-sm-2 control-label" >描述</label>
					<div class="col-sm-9">
						<input type="text" class="form-control" name="description" id="siteDescription" value="${cmsSite.description}"  placeholder="输入描述...">
					</div>
				</div>
				<div class="form-group">
					<label id="siteRemarkLabel" class="col-sm-2 control-label">备注</label>
					<div class="col-sm-9">
						<input type="text" class="form-control" name="remark" id="siteRemark" value="${cmsSite.remark}" placeholder="输入备注...">
					</div>
				</div>
				<div class="error-message text-center" >
					<span class="error-icon"></span>
					<span id="error-msg" class="error-msg" ></span>
				</div>
			</form>
		</div>
		<div class="box-footer">
			<div class="text-center">
				<button type="button" class="btn btn-default btn-sm" data-dismiss="modal"><i class="fa fa-close"></i> 关闭</button>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript">
$(function() {

    $("#siteStatus").select2({
        data: StatusStore,
        theme: "bootstrap"
    }).val('${cmsSite.validStatus}').trigger("change");
});
</script>